package com.qfedu.service;

import com.qfedu.model.Project;
import com.qfedu.page.PageResult;
import com.qfedu.page.QueryPageBean;
import com.qfedu.page.Result;

import java.util.List;

/**
@author LiJH
@date 2023-02-10
*/
public interface ProjectService {
    //分页
    PageResult findPage(QueryPageBean queryPageBean);
    //查询所有
    List<Project> findAll();
    //添加
    int addProject(Project project);
    //根据pid查询
    Project findById(int pid);
    //修改
    int editProject(Project project);
    //删除
    int deleteByPid(int pid);
    Project index(int pid);
}